package com.stfalcon.chatkit.sample.utils;

import android.content.Context;
import android.content.SharedPreferences;

/**
 * 保存数据相关属性
 */
public class SharedPreferencesAtrribute {

    public static final String SAVE_FILE_NAME = "myinfo";

    public static final int FILE_MODE = Context.MODE_PRIVATE;


    private static SharedPreferences sharedPreferences;

    public static SharedPreferences getSharedPreferences() {
        return sharedPreferences;
    }

    public static void setSharedPreferences(SharedPreferences sharedPreferences) {
        SharedPreferencesAtrribute.sharedPreferences = sharedPreferences;
    }
}
